const routes = [{
    path: '/login',
    name: 'login',
    component: () =>
      import ( /* webpackChunkName: "login" */ '../layout/login'),
  },
  {
    path: '/',
    name: 'baseLayout',
    component: () =>
      import ( /* webpackChunkName: "baseLayout" */ '../layout/baseLayout'),
    children: [{
        path: '/',
        component: () =>
          import ( /* webpackChunkName: "helloWorld" */ '../view/HelloWorld.vue'),
      },
      {
        path: '/todayPatient',
        component: () =>
          import ( /* webpackChunkName: "todayPatient" */ '../view/todayPatient.vue'),
      },
      {
        path: '/enterHourse',
        component: () =>
          import ( /* webpackChunkName: "enterHourse" */ '../view/enterHourse.vue'),
      }, {
        path: '/outHourse',
        component: () =>
          import ( /* webpackChunkName: "outHourse" */ '../view/outHourse.vue'),
      }, {
        path: '/nowHourse',
        component: () =>
          import ( /* webpackChunkName: "nowHourse" */ '../view/nowHourse.vue'),
      }, {
        path: '/patientFile',
        component: () =>
          import ( /* webpackChunkName: "patientFile" */ '../view/patientFile.vue'),
      }, {
        path: '/personMed/:id',
        name: 'personMed',
        component: () =>
          import ( /* webpackChunkName: "personMed" */ '../view/personMed.vue'),
      }
    ]
  }
]

export default routes
